package controllers

import (
	"fmt"
	"net/http"
)

type IndexController struct {
	
}

func (*IndexController) Index(w http.ResponseWriter, r *http.Request)  {
	fmt.Fprint(w, "<p>你好， Index</p>")
}
func (*IndexController) NotFound(w http.ResponseWriter, r *http.Request)  {
	w.WriteHeader(http.StatusNotFound)
	fmt.Fprint(w, "<h1>请求页面未找到 :(</h1><p>如有疑惑，请联系我们。</p>")
}